From: Paul Eggert Date: Mon, 4 Apr 2011 07:53:20 +0000 (-0700) Subject: * syntax.c (update_syntax_table): Use unsigned instead of int. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~4204^2~32 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=f00535b98c7bb248a2aa04b213b49b59d904cc14;p=emacs.git * syntax.c (update_syntax_table): Use unsigned instead of int. --- diff --git a/src/ChangeLog b/src/ChangeLog index f572299f4ad..dbd6cc2fb86 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,6 +1,7 @@ 2011-04-04 Paul Eggert * syntax.c (scan_words): Remove var that was set but not used. + (update_syntax_table): Use unsigned instead of int. * lread.c (lisp_file_lexically_bound_p): Use ints rather than endptrs. (lisp_file_lexically_bound_p, read1): Use unsigned instead of int. diff --git a/src/syntax.c b/src/syntax.c index 892cec65697..56176f32418 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -175,7 +175,8 @@ update_syntax_table (EMACS_INT charpos, int count, int init, Lisp_Object object) { Lisp_Object tmp_table; - int cnt = 0, invalidate = 1; + unsigned cnt = 0; + int invalidate = 1; INTERVAL i; if (init)